/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const ordersRouter = {
  path: '/orders',
  component: Layout,
  redirect: '/orders/index',
  name: 'Orders',
  meta: {
    title: '维修养护管理',
    icon: 'table'
  },
  children: [
    {
      path: '/orders/index',
      component: () => import('@/pages/orders/index'),
      name: 'OrdersTable',
      meta: { title: '订单列表', icon: 'table' }
    },
    {
      path: '/orders/addOrders',
      component: () => import('@/pages/orders/addOrders'),
      name: 'addOrders',
      meta: { title: '业务受理', icon: 'table' }
    }
  ]
}
export default ordersRouter
